<template>
  <div class="cus-title" >
    <div class="title">
      <div class="title-info">
        <div class="title-name">
          {{ title }}
          <!-- <slot name="title-name"></slot> -->
        </div>
        <div class="title-right">
          <slot name="title-right"></slot>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'cus-title',
  props: {
    title: {
      type: String,
      default: "",
    },

  },
};
</script>

<style lang="scss" scoped>
.cus-title {
  width: 100%;
  .title {
    margin: 10px 4px;
    position: relative;

    .title-name {
      padding: 10px 0;
      font-size: 24px;
      color: #4E81B4;
      border-bottom: 4px solid #4E81B4;
      text-align: left;
    }
  }

  .title-right {
    position: absolute;
    right: 0;
    bottom: 15px;
    font-size: 20px;
  }
}
</style>>
